using System;
using System.Collections.Generic;
using System.Text;

using Microsoft.SharePoint;

namespace SharePointHarvester.Events {
    public delegate void FeatureFoundHandler( object sender, FeatureFoundEventArg e );

    /// <summary>
    /// Event args for when a feature is found in a web
    /// </summary>
    public class FeatureFoundEventArg : EventArgs {
       /// <summary>
        /// The web that was found
        /// </summary>
        public SPWeb _spWeb;

        /// <summary>
        /// Feature that has been found
        /// </summary>
        public SPFeature _feature;

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="webFound"></param>
        /// <param name="feature"></param>
        public FeatureFoundEventArg( SPWeb webFound, SPFeature feature ) {
            _spWeb = webFound;
            _feature = feature;
        }
    }
}
